package com.cf.serialize.common;

import com.cf.game.service.constants.EnumReturnCode;
import com.cf.serialize.Response;

/**
 * game-server-RechargeResponse
 * <p>
 * 充值消息
 *
 * @author <a href="2428922347@qq.com">Zhu mingming</a>
 * @info
 * @since 2018/5/7 下午 04:42
 */
public class RechargeResponse extends Response {

    public static Integer type = EnumMessageCommonType.RechargeResponse.getType();

    public RechargeResponse() {
        super("余额不足，请充值", EnumReturnCode.NEED_RECHARGE_ERROR.getCode());
    }

    @Override
    public Integer messageType() {
        return type;
    }

    public  Integer getType() {
        return type;
    }

    public  void setType(Integer type) {
        RechargeResponse.type = type;
    }
}
